#define _CRT_SECURE_NO_WARNINGS 2
#include <stdio.h>
void bubble_sort(int *arr,int zs)
{
	int i = 0;
	for (i = 0; i < zs-1; i++)
	{
		int j = 0;
		for (j = 0; j < zs - 1 - i; i++)
		{
			if (arr[j] > arr[j + 1])
			{
				int tmp = arr[j];
				arr[j] = arr[j+1];
				arr[j+1] = tmp;
			 }

		}
	}
}
int main()
{
	
	int arr[] = { 3,4,5,0,1,2,8,9,7,6};
	int zs = sizeof(arr) / sizeof(arr[0]);
	bubble_sort(arr,zs);
	int i = 0;
	for (i = 0; i < zs; i++)
	{
		printf("%d ", arr[i]);
	}
	return 0;
}